using System.Collections.Generic;

namespace ColladaDotNet
{
	public partial class rigid_bodyTechnique_common : ColladaXmlNode
	{
		public override IList<ColladaXmlNode> ChildNodes
		{
			get
			{
				var list = new List<ColladaXmlNode>();
				if (mass_frame != null)
					foreach (object e in mass_frame) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (shape != null)
					foreach (object e in shape) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (dynamic != null)
					list.Add(dynamic);
				if (mass != null)
					list.Add(mass);
				if (inertia != null)
					list.Add(inertia);
				return list;
			}
		}
	}
}
